<template>
	<view class="parse_view" v-if="details?true:false">
		<view class="rule">
			<view class="name">规则说明</view>
			<u-parse :html="details"></u-parse>
		</view>
		<view class="rule" style="margin-bottom: 0;">
			<view class="name">奖品设置</view>
			<u-parse :html="prize"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			details: {
				type: String,
				default: ''
			},
			prize: {
				type: String,
				default: ''
			}
		},
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>
<style lang="scss" scoped>
	.parse_view{
		.rule {
			padding: 0 24rpx 20rpx;
			background-color: #fff;
			margin-bottom: 20rpx;
			.name {
				font-weight: bold;
				font-size: 30rpx;
				padding: 20rpx  0;
			}
		}
	}
</style>
